package com.xuecheng.content.model.dto;

import com.xuecheng.base.exception.ValidationGroups;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@Data
@ToString
public class UpdateCourseDto extends AddCourseDto {

  @NotNull(message = "id 不能为空", groups = {ValidationGroups.Update.class})
  @ApiModelProperty(value = "ID", required = true)
  private Long id;

}
